﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Our.Umbraco.uDbCompare.umbraco.DataItem
{
    public class RelationType : BaseQueryItem
    {
        

        /// <summary>
        /// Return a url to link to an item in the umbraco system.
        /// Deeplinking is used when possible, however, in cases where the id is not passed as id in the url, 
        /// then it will not work (for example, template needs templateid)
        /// </summary>
        /// <param name="linkItem"></param>
        /// <param name="id"></param>
        /// <param name="remote"></param>
        /// <returns></returns>
        public string GetLinkUrl(bool remote)
        {
            return base.GetLinkUrl(remote, "{0}/umbraco/plugins/RelationTypes/EditRelationType.aspx?id={1}#developer");
        }

    }
}
